﻿/*	Less Framework 4
	http://lessframework.com
	by Joni Korpi
	License: http://opensource.org/licenses/mit-license.php	*/

/* LAO FONT */
@font-face
{
    font-family: 'VangViengMXRegular';
    src: url('fonts/vangvieng_mx-webfont.eot');
    src: url('fonts/vangvieng_mx-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/vangvieng_mx-webfont.woff') format('woff'), url('fonts/vangvieng_mx-webfont.ttf') format('truetype'), url('fonts/vangvieng_mx-webfont.svg#VangViengMXRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*@font-face
{
    font-family: 'SaysetthaMXRegular';
    src: url('fonts/saysettha_mx-webfont.eot');
    src: url('fonts/saysettha_mx-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/saysettha_mx-webfont.woff') format('woff'), url('fonts/saysettha_mx-webfont.ttf') format('truetype'), url('fonts/saysettha_mx-webfont.svg#SaysetthaMXRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
*/

/* LAO ALICE FONT */
/*@font-face {
    font-family: 'Alice5MXRegular';
    src: url('fonts/alice5_mx-webfont.eot');
    src: url('fonts/alice5_mx-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/alice5_mx-webfont.woff') format('woff'),
         url('fonts/alice5_mx-webfont.ttf') format('truetype'),
         url('fonts/alice5_mx-webfont.svg#Alice5MXRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Alice0MXRegular';
    src: url('fonts/alice0_mx-webfont.eot');
    src: url('fonts/alice0_mx-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/alice0_mx-webfont.woff') format('woff'),
         url('fonts/alice0_mx-webfont.ttf') format('truetype'),
         url('fonts/alice0_mx-webfont.svg#Alice0MXRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}*/
/*	Resets
	------	*/


html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figure, figcaption, hgroup, menu, footer, header, nav, section, summary, time, mark, audio, video
{
    margin: 0;
    padding: 0;
    border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup, footer, header, nav, section, audio, video
{
    display: block;
}

a img
{
    border: 0;
}



/*	Typography presets
	------------------	*/

.gigantic
{
    font-size: 116px;
    line-height: 120px;
    letter-spacing: -2px;
}

.huge, h1
{
    font-size: 72px;
    line-height: 72px;
    letter-spacing: -1px;
}

.large, h2
{
    font-size: 44px;
    line-height: 48px;
}

.bigger, h3
{
    font-size: 28px;
    line-height: 36px;
}

.big, h4
{
    font-size: 24px;
    line-height: 30px;
}

body
{
    font: 13px Helvetica, arial, freesans, clean, sans-serif;
}

.small, small
{
    font-size: 13px;
    line-height: 18px;
}

/* Selection colours (easy to forget) */

::selection
{
    background: rgb(255,255,158);
}
::-moz-selection
{
    background: rgb(255,255,158);
}
img::selection
{
    background: transparent;
}
img::-moz-selection
{
    background: transparent;
}
body
{
    -webkit-tap-highlight-color: rgb(255,255,158);
}



/*		Default Layout: 992px. 
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body
{
    /*     width: 896px; 	padding: 72px 48px 84px;     */
    color: #111;
    background: white;
    -webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
}



/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px)
{

    body
    {
        width: 712px;
        padding: 48px 28px 60px;
    }
}



/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px)
{

    body
    {
        width: 252px;
        padding: 48px 34px 60px;
    }

}



/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px)
{

    body
    {
        width: 436px;
        padding: 36px 22px 48px;
    }

}
.left
{
    float: left;
}
.right
{
    float: right;
}

.error
{
    font: 13px Helvetica, arial, freesans, clean, sans-serif;
    color: red;
}
/* disable chrome, safari focus */
*:focus
{
    outline: none;
}

textarea
{
    font: 13px Helvetica, arial, freesans, clean, sans-serif;
}

.clear
{
    clear: both;
}
.display-none
{
    display: none;
}
.text-center
{
    text-align: center;
}
.text-left
{
    text-align: left;
}
.text-right
{
    text-align: right;
}


/* chọn ngôn ngữ */
#lang-selector
{
    position: fixed;
    top: 0px;
    right: 0px;
    height: 24px;
    width: 210px;
}
#lang-selector ul
{
    list-style: none;
    float: left;
}
#lang-selector ul li
{
    display: inline;
    width: 60px;
    padding-left: 5px;
    padding-right: 5px;
}
#lang-selector ul li a
{
    color: #00AFEB;
}
/* end chọn ngôn ngữ */

/* jquery pager */
ul.pages
{
    display: block;
    border: none;
    text-transform: uppercase;
    font-size: 95%;
    margin: 10px 0 10px;
    padding: 0;
}

ul.pages li
{
    list-style: none;
    float: left;
    border: 1px solid #ccc;
    text-decoration: none;
    margin: 0 5px 0 0;
    padding: 5px;
}

ul.pages li:hover
{
    border: 1px solid #003f7e;
}

ul.pages li.pgEmpty
{
    border: 1px solid #eee;
    color: #eee;
}

ul.pages li.pgCurrent
{
    border: 1px solid #003f7e;
    color: #000;
    font-weight: 700;
    background-color: #eee;
}
/* end jquery pager */

/* sample table */
.sample-table
{
    border-collapse: collapse;
    max-width: 724px;
}
.sample-table td, .sample-table th
{
    border: 1px solid #e5e5e5;
    padding: 7px;
}
.sample-table td.text-center {
    text-align: center;
}
.sample-table tr:hover
{
    background: #eee;
}
.sample-table tr td input[type="checkbox"]:hover
{
    cursor: pointer;
}
.sample-table th
{
    font-weight: bold;
    background-color: #DDE9FF;
}
/* end sampel table */

/* admin template */
#admin-page-title
{
    float: left;
    font-size: 200%;
    clear: both;
    margin-top: 10px;
}
#admin-page-func
{
    float: left;
    width: 724px;
    max-width: 724px;
    margin-top: 10px;
}
#admin-page-func .page-add
{
    float: left;
}
#admin-page-func .page-filter
{
    float: left;
}
#admin-page-func .page-search
{
    float: right;
}

#admin-page-list
{
    float: left;
    margin-top: 5px;
    margin-bottom: 5px;
}
/* end admin template */

/* loading indicator */
#save-indicator
{
    position: fixed;
    top: 0px;
    right: 220px;
    background: white url('../images/loading.gif') no-repeat;
    height: 22px;
    width: 22px;
    background-position: center;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
}
/*end loading indicator */

/* form nhập, sửa dữ liệu*/
.idata-form
{
    list-style: none;
    width: 100%;
    font: 13px Helvetica, arial, freesans, clean, sans-serif;
}
.idata-form li
{
    clear: both;
    margin-top: 5px;
    float: left;
    margin-bottom: 3px;
}
.idata-form li.title
{
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
    width: 100%;
    text-align: center;
    font-size: 120%;
}
.idata-form li span
{
    float: left;
}
.idata-form li span.idata-form-title
{
    min-width: 180px;
    width: auto;
    float: left;
}
.idata-form li input[type="text"]
{
    width: 350px;
}
.idata-form li textarea
{
    width: 348px;
}
.idata-form li select
{
    width: 150px;
}
.idata-form li span a
{
    margin-left: 5px;
    font-size: 95%;
    color: blue;
}
.idata-form li span a:active
{
    position: relative;
    top: 1px;
}
/* end form nhập và sửa dữ liệu */

/* UL LI list các item với icon xóa */
ul.list-removable-item
{
    list-style: none;
    width: 100%;
    float: left;
}
ul.list-removable-item li.removable-item
{
    width: auto;
    float: left;
    display: inline;
    background-image: url('../images/close_icon16x16.png');
    background-position-x: right;
    background-position-y: center;
    background-position: right center;
    padding: 3px;
    padding-right: 20px;
    margin-right: 5px;
    background-color: #EEE;
    color: black;
    background-repeat: no-repeat;
    cursor: pointer;
}
/* end UL LI list các item với icon xóa */

/* ghi đè css của các html control */
select
{
    appearance: button;
    border-radius: 2px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    padding-left: 5px;
    padding: 2px;
    -webkit-appearance: button;
    -webkit-border-radius: 2px;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-padding-end: 20px;
    -webkit-padding-start: 2px;
    -webkit-user-select: none;
    -moz-appearance: button;
    -moz-border-radius: 2px;
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    -moz-padding-end: 5px;
    -moz-padding-start: 2px;
    -moz-user-select: none;
    user-select: none;
    background: url(../images/select-arrow-down.png), -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
    background: url(../images/select-arrow-down.png), -moz-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E5E5E5');
    background-position: center right;
    background-repeat: no-repeat;
    border: 1px solid #AAA;
    color: #555;
    font-size: inherit;
    margin: 0;
    overflow: hidden;
    padding-top: 2px;
    padding-bottom: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* kết thúc ghi đè css của các html control */
.bold-class
{
    font-weight: bold;
}
